package com.zdwl.utils;


/**
 * Author: Professor_Kong
 * date: 2019/2/27
 */
public class JsonResult {

    private String code ;

    private Object data;

    private long count;

    private String msg;

    private int limit;

    private int page;

    public JsonResult() {
        this.code="200";
        this.count=0l;
        this.page=1;
        this.limit=10;
        this.msg="操作成功！";
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }
}
